package com.itlong.cloud.enumerate;

import lombok.Getter;

@Getter
public enum ErrorTypeEnum {
    SYSTEM_ANOMALY("系统异常", "0001"),
    NETWORK_ANOMALY("网络异常", "0002"),
    PARAMETER_ANOMALY("参数异常", "0003"),
    MQ_ANOMALY("消息队列异常", "0004"),
    INSTRUCTION_EXECUTION_ANOMALY("指令执行异常", "0005"),
    HW_CLOUD_ANOMALY("华为云异常", "0006"),
    ALI_CLOUD_ANOMALY("阿里云异常", "0007"),
    SDK_ANOMALY("SDK异常", "0008"),
    REDIS_ANOMALY("REDIS异常", "0009"),
    VERIFY_ANOMALY("校验异常", "0010");

    private String name;
    private String code;

    ErrorTypeEnum(String name, String code) {
        this.name = name;
        this.code = code;
    }
}
